package com.scrx.ymg.entity;
// default package

import java.util.HashSet;
import java.util.Set;


/**
 * User entity. @author MyEclipse Persistence Tools
 */

public class User  implements java.io.Serializable {


    // Fields    

     private Integer id;
     private String userId;
     private String userName;
     private String passWord;
     private String phone;
     private String idCard;
     private Integer belongSupermarket;
     private String registrationDate;
     private Double balance;
     private Double consumeMoney;
     private Integer orderNum;
     private Integer agentId;
     private Integer code;
     private Integer referrerId;
     private String headportrait;
     private Integer downlineNum;
     private String qrCode;
     
    // Constructors

    /** default constructor */
    public User() {
    }

    
    /** full constructor */
    public User(String userId, String userName, String passWord, String phone, String idCard, Integer belongSupermarket, String registrationDate, Double balance, Double consumeMoney, Integer orderNum) {
        this.userId = userId;
        this.userName = userName;
        this.passWord = passWord;
        this.phone = phone;
        this.idCard = idCard;
        this.belongSupermarket = belongSupermarket;
        this.registrationDate = registrationDate;
        this.balance = balance;
        this.consumeMoney = consumeMoney;
        this.orderNum = orderNum;

    }

   
    // Property accessors

    public Integer getId() {
        return this.id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }
    
    
    public Integer getDownlineNum() {
		return downlineNum;
	}


	public void setDownlineNum(Integer downlineNum) {
		this.downlineNum = downlineNum;
	}


	public String getUserId() {
		return userId;
	}
   

	public void setUserId(String userId) {
		this.userId = userId;
	}


	public String getUserName() {
        return this.userName;
    }
    
    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassWord() {
        return this.passWord;
    }
    
    public void setPassWord(String passWord) {
        this.passWord = passWord;
    }



    public String getPhone() {
		return phone;
	}


	public void setPhone(String phone) {
		this.phone = phone;
	}


	public String getIdCard() {
        return this.idCard;
    }
    
    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public Integer getBelongSupermarket() {
        return this.belongSupermarket;
    }
    
    public void setBelongSupermarket(Integer belongSupermarket) {
        this.belongSupermarket = belongSupermarket;
    }

    public String getRegistrationDate() {
        return this.registrationDate;
    }
    
    public void setRegistrationDate(String registrationDate) {
        this.registrationDate = registrationDate;
    }

    public Double getBalance() {
        return this.balance;
    }
    
    public void setBalance(Double balance) {
        this.balance = balance;
    }

    public Double getConsumeMoney() {
        return this.consumeMoney;
    }
    
    public void setConsumeMoney(Double consumeMoney) {
        this.consumeMoney = consumeMoney;
    }

    public Integer getOrderNum() {
        return this.orderNum;
    }
    
    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }


	public Integer getAgentId() {
		return agentId;
	}


	public void setAgentId(Integer agentId) {
		this.agentId = agentId;
	}


	public Integer getCode() {
		return code;
	}


	public void setCode(Integer code) {
		this.code = code;
	}


	public Integer getReferrerId() {
		return referrerId;
	}


	public void setReferrerId(Integer referrerId) {
		this.referrerId = referrerId;
	}


	public String getHeadportrait() {
		return headportrait;
	}


	public void setHeadportrait(String headportrait) {
		this.headportrait = headportrait;
	}


	public String getQrCode() {
		return qrCode;
	}


	public void setQrCode(String qrCode) {
		this.qrCode = qrCode;
	}
	


    
	
   

     

    


}